package com.crl.module.connecter.core
{
	import com.crl.module.connecter.model.CommandInfo;
	
	import flash.net.Responder;
	
	
	/**
	 *  网络发送接口;
	 * @author crl
	 * 
	 */	
	public interface INetSender
	{
		/**
		 * 发送单条数据; 
		 * @param commandInfo
		 * @param responder
		 * 
		 */		
		function send(commandInfo:CommandInfo,responder:Responder=null):void;
		
		
		/**
		 *  发送多条消息; 
		 * @param comandInfos
		 * 
		 */		
		function sends(comandInfos:Vector.<CommandInfo>):void;
	}
}